package mysql

import "gorm.io/gorm"

type Popular struct {
	gorm.Model
	HeadImage string `gorm:"type:varchar(500);not null;comment:'头像'"`
	Context   string `gorm:"type:varchar(30);not null;comment:'内容'"`
	collect   string `gorm:"type:enum('点赞','不点赞');not null;comment:'是否点赞'"`
	GiveNum   int    `gorm:"type:int(20);not null;comment:'点赞人数'"`
}
